package com.example.currentlimiting.demo.annotation;

import java.lang.annotation.*;

@Inherited
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RateLimit {

    //默认每秒放入桶中的token
    double limit() default 20;
}